package com.wholesale.datas;

import com.wholesale.beans.CartInfo;

public class ShopCar {

	private int id ;
	private int goodsId ;
	private CartInfo cartInfo;
	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public CartInfo getCartInfo() {
		return cartInfo;
	}
	public void setCartInfo(CartInfo goodsInfo) {
		this.cartInfo = goodsInfo;
	}
	public void setCartInfo(String goodsInfoJson) {
		this.cartInfo = new CartInfo();
		cartInfo.jsonAnalytic(goodsInfoJson);
	}
	
}
